home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ShareWare OnLine 2
/
ShareWare OnLine Volume 2 (CMS Software)(1993).iso
/
games2
/
twast11.zip
/
TWASTMAC.DOC
< prev
next >
Wrap
Text File
|
1993-02-06
|
18KB
|
540 lines
▄ ▄
▀▀█▀▀ █▀▀▄ █▀▀▀█ █▀▀▄ █▀▀▀ █▄ ▄█ █▀▀▀█ █▀▀▄ █▀▀▀
█ █▄▄▀ █▄▄▄█ █ █ █▀▀ █ ▄█▄ █ █▄▄▄█ █▄▄▀ ▀▀▀█
█ █ █ ▄█ █▄ █▄▄▀ █▄▄▄ █▄█ █▄█ ▄█ █▄ █ █ ▄▄▄█
▄ ▄
███████ ███████ ███████ ██ ███████ ██████ ███████ ██ ██ ██████
██ ██ ██ ██ ██ ██ ██ ██ ██ ███▄ ██ ██
███████ ███████ ███████ ██ ███████ ██ ███████ ██▀██▄██ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ▀███ ██
███ ███ ███████ ███████ ██ ███████ ██ ███ ███ ██ ██ ██
▄
█▀█ █▀█ █▀▀▀█ █▀▀█ █▀▀▄ █▀▀█ █▀▀▀
█ ▀█▀ █ █▄▄▄█ █ █▄▄▀ █ █ ▀▀▀█
█▀ ▀█ ▄█ █▄ █▄▄█ █ █ █▄▄█ ▄▄▄█
Version 1.1
for use with
Trade Wars 2002 Assistant
contributed by many
╔════════════════════════════════════════════════════════════════════════════╗
║ Table of Contents ║
╚════════════════════════════════════════════════════════════════════════════╝
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1 Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 General Information . . . . . . . . . . . . . . . . . . . . . . . 3
3 Qmodem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4 Telix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5 Procomm Plus . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6 Commo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Page 2
╔════════════════════════════════════════════════════════════════════════════╗
║ Section 1 Introduction ║
╚════════════════════════════════════════════════════════════════════════════╝
People have contributed these macros to help users capture the reports
during a Trade Wars session. You are not required to use them, you may
capture the information in the manner that best suits you. The macros are
a bonus and are not considered part of the TWASSIST software.
These macros are provided as freeware. You may modify them for your own
use. You may distribute modified macros as a separate package but you may
not distribute modified macros as part of any TWASSIST package.
░▒▓█ 1.1 █▓▒░ Disclaimer
The macros are provided AS IS. Neither Sasquatch Software nor the macro
authors provide any warranty, either expressed or implied, with respect to
the software or documentation, including but not limited to their quality,
performance, merchantability, or fitness for a particular purpose. In no
event will Sasquatch Software or the author be liable for direct, indirect,
special, incidental, or consequential damages arising out of the use,
misuse, or inability to use the software or documentation, even if advised
of the possibility of such damages.
╔════════════════════════════════════════════════════════════════════════════╗
║ Section 2 General Information ║
╚════════════════════════════════════════════════════════════════════════════╝
The section title is the name of the communications program the macro is
for. Each section will include the name of the macro file, the author of
the macro, and information on how to use the macro. All of the macros are
in the TWASTMAC.ZIP file. Find the macro file you want to use, as named in
the section for your communications program, and extract it from the file.
Typically the macros were developed to be executed from the main Trade
Wars menu. Each section will identify any special requirements.
WARNING: These macros will invoke computer interrogation mode in the game
and do a port report. There is a bug in v1.03 of Trade Wars 2002
where it will kick you out of the game if you have not ported or
statused a port before doing this. To prevent this, either port
or get a port status from the computer. You can do this with
any port except a class 0.
Page 3
╔════════════════════════════════════════════════════════════════════════════╗
║ Section 3 Qmodem ║
╚════════════════════════════════════════════════════════════════════════════╝
File: TWASSIST.SCR
By: Albin Gersich
Date: 02/06/93
Gathering all the data that TWASSIST can use is as simple as pressing a
key with this script. The source code is included for those who want to
incorporate this into their own scripts, or you can customize this one.
This script provides a menu of options, allowing you to capture all the
reports used by TWASSIST or just some of them. Maybe you don't have much
time left and you only want to get the CIM reports, or you have just started
your session and want to get updates on fighter and mine deployment. Here
is the menu:
(T)W2002 Assistant
(A)ll reports
(C)IM sector and port reports
(P)ort report
(F)ighters, mines, and avoids
E(x)it script
Your selection?
The option that runs TWASSIST has two variables that may need changing
depending on where files are located on your system. One variable specifies
the location of the TWASSIST executable, the default is c:\tw\twassist.exe.
The other variable is the directory where your data files are stored, the
default is c:\tw. This directory variable is used to change your current
directory to that location before running TWASSIST allowing you to enter
your database name without the full path.
QModem v4.3 was used for this script.
Example key assignment (CTRL-F10 for example):
- Press ALT-J in QModem
- Press '3' to assign a CTRL key
- Move cursor to key field (example: CTRL-F10 field)
- Type @SCRIPT TWASSIST
- Press F10 to save
- Press ESC to exit
QModem Usage:
- Start your screen capture by pressing CTRL-HOME
- Make sure you are at the main command prompt in Trade Wars.
- Execute the TWASSIST.SCR file by pressing the key assigned to it.
- Select the macro option from the menu shown.
- When your screen stops you can press CTRL-HOME to close the screen
capture.
Page 4
╔════════════════════════════════════════════════════════════════════════════╗
║ Section 4 Telix ║
╚════════════════════════════════════════════════════════════════════════════╝
File: TWASSIST.SLT (source code)
File: TWASSIST.SLC (compiled code)
By: Dan Roseen
Date: 02/05/93 - v1.2
Gathering all the data that TWASSIST can use is as simple as pressing a
key with this script. I've included the source code for those who want to
incorporate this into their own scripts, or you can customize this one.
This script provides the following menu of options, allowing you to
capture all the reports used by TWASSIST or just some of them. Maybe you
don't have much time left and you just want the CIM reports, or you have
just started your session and want to get updates on deployed fighters
and mines.
╒═ 02/05/93 - D. Roseen - v1.2 ═╕
│ │
│ (T)W2002 Assistant │
│ │
│ (A)ll reports │
│ (C)IM warp and port reports │
│ (P)ort report │
│ (F)ighters, mines, and avoids │
│ │
│ E(x)it script │
│ │
│ Your selection? │
│ │
╘═══════════════════════════════╛
*** NOTE! *** If your TWASSIST directory is not C:\TW you you MUST
change the default TWASSIST directory in the Telix script source code for
proper operation! This is the directory which contains your TW Assistant
executable and data files. You can change it with a simple ASCII text
editor and recompile the source code by running Telix's CS.EXE program
(e.g. CS TWASSIST) and CS.EXE will create a new TWASSIST.SLC file from your
revised TWASSIST.SLT file. The directory variable is used to change your
current directory to that location before running TWASSIST. This makes it
easier to enter the name of the database at the TWASSIST prompt. You only
have to enter the name instead of the full path.
Telix v3.15 was used for this script.
Example key assignment (CTRL-F10 for example):
- Press ALT-K in Telix
- Select default of "Regular" or press 'R'
- Select "Edit" or press 'E'
- Press the key you want it assigned to (example: CTRL-F10)
- Type @TWASSIST
- Press the space bar since you don't want to assign any more keys.
- Select "Save" or press 'S' and save to a key file.
- Select "Exit" or press 'E'
Page 5
4 Telix (contd)
Telix Usage:
- Start your screen capture by pressing ALT-L
- Make sure you are at the main command prompt in Trade Wars.
- Execute the TWASSIST.SLC file by pressing the key assigned to it. You
will see the menu and then make your selection.
- When your screen stops you can press ALT-L and close the screen capture.
Page 6
╔════════════════════════════════════════════════════════════════════════════╗
║ Section 5 Procomm Plus ║
╚════════════════════════════════════════════════════════════════════════════╝
File: TWASSIST.ASP
By: Jason Jiggins
Date: 02/06/93
This script is for use with the Trade Wars Assistant by Albin Gersich,
but the information it obtains can be used with a number of Trade Wars
utilities. It was compiled and tested with Procomm Plus for Dos, version
2.01. It may or may not be compatible with Procomm Plus for Windows.
The script captures your CIM port and sector reports, fighter, mines,
avoids, and the game status in a variety of ways. You can also use it to
access TW Assistant easily while online. The macro was designed so that
you don't have to capture a complete data file all the time. Often times,
you only want to capture the latest port information, or update your fighter
info in the database for transwarp calculations while online. I wanted to
do these things quickly and efficiently, so I took the heart of Casey
Stemp's macro and greatly expanded on it.
Everything is accessed through the main menu. When you run the macro, the
menu will be displayed with the items and their hot-keys. To access an
item, just press the appropriate hotkey. Each menu item is explained below:
"<A>ssistant" - This takes you directly to Trade Wars Assistant. It skips
the checking for old capture files so they remain intact. Note too, that it
calls the program with no parameters, so you can enter the database name if
you keep multiple databases. If not, you can edit the macro to load a
particular database each time.
"<B>oth F,M,A, & Port rep." - This creates a capture file with just the
CIM port report, fighters, mines, and avoids. Read the next two sections
for more information. Note too that this, like all the capturing menu
items, checks for old capture files first and erases them if found.
"<P>ort report" - This accesses the CIM (Computer Interrogation Mode) of
your Cray XXV (ship computer) and captures the newest port information.
"<F>ighters, mines, avoids" - This produces a capture file of the three
things listed. Great for updating your database for online calculations
after deploying a lot of new fighters or mines (or after those fighters or
mines have been destroyed).
"<C>omplete capture file" - This captures everything if you want to create
a new database, or update all your database information. This is the only
menu item that will capture your CIM sector information and your game
status. Since I explore my universe completely and very quickly (in two
days), I never need to update my sector info. And I rarely bother updating
my game status information, so I put them here.
Page 7
5 Procomm Plus (contd)
Some notes:
- I recommend setting up the macro as a Meta Key (an Alt-Key combination)
for quick and smooth access. You can put the script file in any
directory, just specify the correct path to the macro in the Meta Key
definition. The script will automatically save your current directory,
switch to the directory which contains your Trade Wars Assistant files,
and switch back to the original directory when finished.
- I designed the macro to use the same WAITFOR and TRANSMIT commands to
reduce size, giving the macro a kind of "spaghetti" look. It runs very
smoothly, however.
- When checking for the hotkey presses, it looks for the escape key for
quick exiting in case you access the macro accidentally (enter the wrong
Alt-Key combination). When this is done, it skips the checking for old
capture file to maintain capture file integrity.
- When you select a menu item, it displays the the macro name in bold
letters on the screen and pauses for 750 milliseconds (3/4ths of a
second), then continues with the macro.
- Make sure you run the macro from the main Trade Wars command line, and
not from the Computer command line, for proper operation.
The script is easily customizable as well. Especially with the Aspect
Script Language reference. You can change colors, move menu items around,
change the item titles and hotkeys, and edit the directory information, the
pause time, or capture file name. I'll indicate sections where you might
want to customize. Any necessary or important customization sections will
be indicated by "***" followed by all capitals.
*** NOTE! *** There is one area you MUST change for proper operation!
This is the directory which contains your TW Assistant executable and data
files. They should BOTH be in the same directory. I put the macro in a
separate directory, but you can keep everything in one directory if you
like.
Page 8
╔════════════════════════════════════════════════════════════════════════════╗
║ Section 6 Commo ║
╚════════════════════════════════════════════════════════════════════════════╝
File: TWASSIST.MAC
By: Casey Stemp
Date: 02/06/93
This is a COMMO macro, made in the COMMO macro language. Place the line
beginning with "(:alv)"inside COMMO.MAC. (Substitute the "(" and the ")"
for their respective curly braces)
(:alv)(macl twassist.mac,twassist)()
Now, by pressing ALT-V it will load up this file (TWASSIST.MAC) and run the
macro. Please consult MACRO.DOC for more information about changing the
ALT-KEY combinations that execute the macro. Everything that you may wish
to personalize is on a line by itself with little stars (*) before it.
This macro will pop up a message stating that the macro is running, and
then proceed to delete your capture file from the last run (if it exists).
This is so you don't get a giant unmanageable capture file. Please change
the path, and/or the file names to what you have set up. There are only
three lines to change!
The macro will then open a capture file, and collect information on
your deployed fighters, deployed mines, and the game status. It will then
autommaticaly get you into the computer menu, and collect your avoids, it
will then acces the C.I.M. and get the current warps, and port reports for
you. After that it will take you back to the main Trade Wars menu, where
the macro will terminate. You may stop the macro at any time by pressing
ESCAPE. Then you will need to press ALT-R to reload the COMMO.MAC file.
If the macro is allowed to run until natural termination, it will
automaticaly reload the COMMO.MAC.
Page 9